package com.example.demo.mapper;

import com.example.demo.entity.Question;
import com.example.demo.entity.Questionnaire;
import com.example.demo.entity.WarningScore;

import java.util.List;

/**
 * @Author: WinstonDeng
 * @Description:
 * @Date: Created in 9:25 2020/4/8
 * @Modified by:
 */
public interface QuestionnaireMapper {
    Questionnaire findById(long id);
    List<Questionnaire> selectAll();
    Long addQuestionnaire(Questionnaire questionnaire);
    void deleteQuestionnaire(Long questionnaireId);
    int updateQuestionnaireScore(WarningScore warningScore);
}
